home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / cracking / BeginnersMacAssembly.sit.hqx / BeginnersMacAssembly.rsrc / PICT_93.png < prev    next >
Portable Network Graphic  |  1997-07-26  |  112KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | poster | reckoner | sky | vegetarianism | water | windowpane
OCR: safiththe wiadow 50 times Beginners Guide Macintosh Assembly Language Programming Bage r26, 50 *do it all 50 times outer loop: **reset the and v's r3, viewrect 1 'bss) *top,I left bott. right r20 2r3 lef window lhz r21 6(r3) *right of window r22,4(r3) *bottom **Draw line and alter the components of the colour line loop draw line *draw this line r23,white1(rtoc) *r2 points to our colour that we are altering lhz *get the red value subic *subtract 64 from the red stl "save the nev colour back in memory lhr r24 *get the green value subic *subtract 32 from the green sth (r23 *save the nev colour back in memory lhz "get the blue value subic *subtract 128 from the blue stl r24,4(r23) *save the new colour back in memory lwz paraml ,whitel(rtoc) Xcall RGBForeColor *Set new foreground colour to whit ...